package com.edu.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.alibaba.fastjson2.annotation.JSONField;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class CategoryEntity {
    //分类
    private int categoryId;
    private String name;

    @JSONField(serialize = false)
    private int parentId;
}